package com.thtf.strokeinquiry.app.bean;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Id;
import java.util.Date;

public class MedInquiryFamilyhistory {
    @Id
    private Integer id;

    private String recordId;

    private String patientId;

    private String patientName;

    private String patientIdNo;

    private String patientSex;

    private String patientMarriage;

    private String strokeSituation;

    private String strokeRealation;

    private Integer strokeAmount;

    private String chdSituation;

    private String chdRealation;

    private Integer chdAmount;

    private String hypertensionSituation;

    private String hypertensionRealation;

    private Integer hypertensionAmount;

    private String diabetesSituation;

    private String diabetesRealation;

    private Integer diabetesAmount;

    private String screeningName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateDate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId == null ? null : recordId.trim();
    }

    public String getPatientId() {
        return patientId;
    }

    public void setPatientId(String patientId) {
        this.patientId = patientId == null ? null : patientId.trim();
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName == null ? null : patientName.trim();
    }

    public String getPatientIdNo() {
        return patientIdNo;
    }

    public void setPatientIdNo(String patientIdNo) {
        this.patientIdNo = patientIdNo == null ? null : patientIdNo.trim();
    }

    public String getPatientSex() {
        return patientSex;
    }

    public void setPatientSex(String patientSex) {
        this.patientSex = patientSex == null ? null : patientSex.trim();
    }

    public String getPatientMarriage() {
        return patientMarriage;
    }

    public void setPatientMarriage(String patientMarriage) {
        this.patientMarriage = patientMarriage == null ? null : patientMarriage.trim();
    }

    public String getStrokeSituation() {
        return strokeSituation;
    }

    public void setStrokeSituation(String strokeSituation) {
        this.strokeSituation = strokeSituation == null ? null : strokeSituation.trim();
    }

    public String getStrokeRealation() {
        return strokeRealation;
    }

    public void setStrokeRealation(String strokeRealation) {
        this.strokeRealation = strokeRealation == null ? null : strokeRealation.trim();
    }

    public Integer getStrokeAmount() {
        return strokeAmount;
    }

    public void setStrokeAmount(Integer strokeAmount) {
        this.strokeAmount = strokeAmount;
    }

    public String getChdSituation() {
        return chdSituation;
    }

    public void setChdSituation(String chdSituation) {
        this.chdSituation = chdSituation == null ? null : chdSituation.trim();
    }

    public String getChdRealation() {
        return chdRealation;
    }

    public void setChdRealation(String chdRealation) {
        this.chdRealation = chdRealation == null ? null : chdRealation.trim();
    }

    public Integer getChdAmount() {
        return chdAmount;
    }

    public void setChdAmount(Integer chdAmount) {
        this.chdAmount = chdAmount;
    }

    public String getHypertensionSituation() {
        return hypertensionSituation;
    }

    public void setHypertensionSituation(String hypertensionSituation) {
        this.hypertensionSituation = hypertensionSituation == null ? null : hypertensionSituation.trim();
    }

    public String getHypertensionRealation() {
        return hypertensionRealation;
    }

    public void setHypertensionRealation(String hypertensionRealation) {
        this.hypertensionRealation = hypertensionRealation == null ? null : hypertensionRealation.trim();
    }

    public Integer getHypertensionAmount() {
        return hypertensionAmount;
    }

    public void setHypertensionAmount(Integer hypertensionAmount) {
        this.hypertensionAmount = hypertensionAmount;
    }

    public String getDiabetesSituation() {
        return diabetesSituation;
    }

    public void setDiabetesSituation(String diabetesSituation) {
        this.diabetesSituation = diabetesSituation == null ? null : diabetesSituation.trim();
    }

    public String getDiabetesRealation() {
        return diabetesRealation;
    }

    public void setDiabetesRealation(String diabetesRealation) {
        this.diabetesRealation = diabetesRealation == null ? null : diabetesRealation.trim();
    }

    public Integer getDiabetesAmount() {
        return diabetesAmount;
    }

    public void setDiabetesAmount(Integer diabetesAmount) {
        this.diabetesAmount = diabetesAmount;
    }

    public String getScreeningName() {
        return screeningName;
    }

    public void setScreeningName(String screeningName) {
        this.screeningName = screeningName == null ? null : screeningName.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}